//
//  OrderListCell.m
//  jang
//
//  Created by lee han on 29/05/2017.
//  Copyright © 2017 lee han. All rights reserved.
//

#import "OrderListCell.h"

@implementation OrderListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)initWithData:(NSDictionary*)data {
    _mTextCode.text = [NSString stringWithFormat:@"订单号: %@", [data objectForKey:@"code"]];
    
    _mTextCreateTime.text = [NSString stringWithFormat:@"创建时间: %@", [data objectForKey:@"createtime"]];
    
    _mTextMoney.text = [NSString stringWithFormat:@"￥%@", [data objectForKey:@"money"]];
}

@end
